package com.zzvcom.utils;
import java.util.Properties;

public abstract class ConfigUtil
{
    
    public static String getValue(String key)
    {
        Properties p=new Properties();
        try
        {           
            p.load(ConfigUtil.class.getClassLoader().getResourceAsStream("config.properties"));
            //System.out.println(p.getProperty(key));
            return p.getProperty(key);
        }
        catch(Exception e)
        {
            e.printStackTrace();
        }  
        return null;
    }   
}
